import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
export const asyncRoutes: Array<RouteRecordRaw> = [
    // {
    //     path: "/login",
    //     name: "login",
    //     component: () => import("@/views/login/login.vue")
    // },
    // {
    //     path: "/:pathMath(.*)",
    //     component: () => import("@/views/notFound/notFound.vue")
    // },
    // {
    //     path: "/userCenter",
    //     name: "userCenter",
    //     redirect: "/userCenter/userinfo",
    //     component: () => import("@/layout/Layout.vue"),
    //     meta: {
    //         title: "个人中心",
    //         hiddenChildren: true,
    //         hidden: true
    //     },
    //     children: [
    //         {
    //             path: "userinfo",
    //             name: "userinfo",
    //             component: () => import("@/views/userCenter/userinfo.vue"),
    //             meta: {
    //                 title: "个人中心"
    //             }
    //         }
    //     ]
    // }
];
const router = createRouter({
    history: createWebHashHistory(),
    routes: asyncRoutes
});

export default router;